[front] feat: preview files in the side panel - #32263
Open
adrsimon wants to merge 1 commit into
Open
Conversation
Conversation file previews open in the resizable side panel instead of the centered modal, so the conversation stays visible while reading a file. FilePreviewContext becomes the single routing funnel for citations, and path-less content fragments are addressed by file id.
adrsimon
added this pull request to stack #32266
September 10, 2026 15:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Conversation file previews now open in the resizable side panel instead of the centered modal, so the conversation stays readable while you look at a file.
FilePreviewContextbecomes the single place that routes a citation click: side panel when previewable, download otherwise. Path-less content fragments are addressed by file id (id:prefix in the hash param) since they have no sandbox path. This drops theopensInSidePanelformat flag, which existed only to send presentations down the panel path.Tests
Updated the markdown and citation integration tests to assert side panel routing. Full
components/assistant,components/markdownandcomponents/file_explorersuites pass.Risk
Contained to conversation UI.
FilePreviewDialogstays for the pod file explorer.Deploy Plan
Deploy front.